package com.character.entity;


/**
 * @author 张燕豪
 * @description
 * @date 2021/12/7
 */

public class Color {
    private Integer red;
    private Integer yellow;
    private Integer blue;
    private Integer green;

    public Integer getRed() {
        if (red!=null){
            return red;
        }else {
            return 0;
        }
    }

    public void setRed(Integer red) {
            this.red = red;
    }

    public Integer getYellow() {
        if (yellow!=null){
            return yellow;
        }else {
            return 0;
        }
    }

    public void setYellow(Integer yellow) {
            this.yellow = yellow;
    }

    public Integer getBlue() {
        if (blue!=null){
            return blue;
        }else {
            return 0;
        }
    }

    public void setBlue(Integer blue) {
            this.blue = blue;
    }

    public Integer getGreen() {
        if (green!=null){
            return green;
        }else {
            return 0;
        }
    }

    public void setGreen(Integer green) {
            this.green = green;
    }
}
